/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package zonasoft.Conceptos.Especiales;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.jvnet.substance.SubstanceLookAndFeel;

/**
 *
 * @author ADSI 2010
 */
public class Apariencia {

    String nombre;

    public static  Apariencia load(ResultSet rs) throws SQLException,Exception {
 Apariencia ap = new  Apariencia();
ap.setNombre(rs.getString(1));
return ap;

    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    
    

    public void pielDeOtoño(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.AutumnSkin");
       }
    
    public void Estilonegro(){
         SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.BusinessBlackSteelSkin");
    }

     public void EstiloAzul(){
         SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.BusinessBlueSteelSkin");
    }

     public void EstiloNegocios(){
         SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.BusinessSkin");
    }

    public void EstiloDesafiante(){
         SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.ChallengerDeepSkin");
    }

   public void crema(){
       SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.CremeSkin");
   }
        public void cremaCafe(){
       SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.CremeCoffeeSkin");
   }
     public void esmeralda(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.EmeraldDuskSkin");
        }
   public void trigo(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.FieldOfWheatSkin");
        }
public void piel(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.FindingNemoSkin");
        }
public void verde(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.GreenMagicSkin");
        }
public void Magma(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.MagmaSkin");
        }
public void Mango(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.MangoSkin");
        }
public void Niebla(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.MistAquaSkin");
        }
public void NieblaPlata(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.MistSilverSkin");
        }
public void Moderado(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.ModerateSkin");
        }

public void moderadoPlata(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.NebulaBrickWallSkin");
        }
public void nebulosa(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.NebulaSkin");
        }
//------------------------
public void oficina(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.OfficeBlue2007Skin");
        }

public void oficinaPlata(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.OfficeSilver2007Skin");
        }
public void Vidrio(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.RavenGraphiteGlassSkin");
        }
public void Grafito(){
            SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.RavenGraphiteSkin");
        }
public void Cuervo(){
            SubstanceLookAndFeel.setSkin(" org.jvnet.substance.skin.RavenSkin ");
        }
public void Sahara(){
            SubstanceLookAndFeel.setSkin(" org.jvnet.substance.skin.SaharaSkin  ");
        }

}// fin de la clase
